package com.thomsonreuters.ce.edps.model.impl;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Set;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.thomsonreuters.ce.edps.model.IAgsFacility;


/** @author Hibernate CodeGenerator */
public class AgsFacility implements Serializable, IAgsFacility {

    /** identifier field */
    private BigDecimal id;

    /** persistent field */
    private BigDecimal facilityId;

    /** nullable persistent field */
    private String phoneNumber;

    /** nullable persistent field */
    private String address;

    /** nullable persistent field */
    private String city;

    /** nullable persistent field */
    private String mileMarker;

    /** nullable persistent field */
    private String switchDistrict;

    /** persistent field */
    private String nopaMember;

    /** nullable persistent field */
    private String bnsfNumber;

    /** nullable persistent field */
    private String cclCode;

    /** persistent field */
    private String createBy;

    /** persistent field */
    private Date createDate;

    /** persistent field */
    private String modifyBy;

    /** persistent field */
    private Date modifyDate;

    /** persistent field */
    private Set physicalAssets;

    /** full constructor */
    public AgsFacility(BigDecimal id, BigDecimal facilityId, String phoneNumber, String address, String city, String mileMarker, String switchDistrict, String nopaMember, String bnsfNumber, String cclCode, String createBy, Date createDate, String modifyBy, Date modifyDate, Set physicalAssets) {
        this.id = id;
        this.facilityId = facilityId;
        this.phoneNumber = phoneNumber;
        this.address = address;
        this.city = city;
        this.mileMarker = mileMarker;
        this.switchDistrict = switchDistrict;
        this.nopaMember = nopaMember;
        this.bnsfNumber = bnsfNumber;
        this.cclCode = cclCode;
        this.createBy = createBy;
        this.createDate = createDate;
        this.modifyBy = modifyBy;
        this.modifyDate = modifyDate;
        this.physicalAssets = physicalAssets;
    }

    /** default constructor */
    public AgsFacility() {
    }

    /** minimal constructor */
    public AgsFacility(BigDecimal id, BigDecimal facilityId, String nopaMember, String createBy, Date createDate, String modifyBy, Date modifyDate, Set physicalAssets) {
        this.id = id;
        this.facilityId = facilityId;
        this.nopaMember = nopaMember;
        this.createBy = createBy;
        this.createDate = createDate;
        this.modifyBy = modifyBy;
        this.modifyDate = modifyDate;
        this.physicalAssets = physicalAssets;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#getId()
	 */
    @Override
	public BigDecimal getId() {
        return this.id;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#setId(java.math.BigDecimal)
	 */
    @Override
	public void setId(BigDecimal id) {
        this.id = id;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#getFacilityId()
	 */
    @Override
	public BigDecimal getFacilityId() {
        return this.facilityId;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#setFacilityId(java.math.BigDecimal)
	 */
    @Override
	public void setFacilityId(BigDecimal facilityId) {
        this.facilityId = facilityId;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#getPhoneNumber()
	 */
    @Override
	public String getPhoneNumber() {
        return this.phoneNumber;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#setPhoneNumber(java.lang.String)
	 */
    @Override
	public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#getAddress()
	 */
    @Override
	public String getAddress() {
        return this.address;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#setAddress(java.lang.String)
	 */
    @Override
	public void setAddress(String address) {
        this.address = address;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#getCity()
	 */
    @Override
	public String getCity() {
        return this.city;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#setCity(java.lang.String)
	 */
    @Override
	public void setCity(String city) {
        this.city = city;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#getMileMarker()
	 */
    @Override
	public String getMileMarker() {
        return this.mileMarker;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#setMileMarker(java.lang.String)
	 */
    @Override
	public void setMileMarker(String mileMarker) {
        this.mileMarker = mileMarker;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#getSwitchDistrict()
	 */
    @Override
	public String getSwitchDistrict() {
        return this.switchDistrict;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#setSwitchDistrict(java.lang.String)
	 */
    @Override
	public void setSwitchDistrict(String switchDistrict) {
        this.switchDistrict = switchDistrict;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#getNopaMember()
	 */
    @Override
	public String getNopaMember() {
        return this.nopaMember;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#setNopaMember(java.lang.String)
	 */
    @Override
	public void setNopaMember(String nopaMember) {
        this.nopaMember = nopaMember;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#getBnsfNumber()
	 */
    @Override
	public String getBnsfNumber() {
        return this.bnsfNumber;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#setBnsfNumber(java.lang.String)
	 */
    @Override
	public void setBnsfNumber(String bnsfNumber) {
        this.bnsfNumber = bnsfNumber;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#getCclCode()
	 */
    @Override
	public String getCclCode() {
        return this.cclCode;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#setCclCode(java.lang.String)
	 */
    @Override
	public void setCclCode(String cclCode) {
        this.cclCode = cclCode;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#getCreateBy()
	 */
    @Override
	public String getCreateBy() {
        return this.createBy;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#setCreateBy(java.lang.String)
	 */
    @Override
	public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#getCreateDate()
	 */
    @Override
	public Date getCreateDate() {
        return this.createDate;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#setCreateDate(java.util.Date)
	 */
    @Override
	public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#getModifyBy()
	 */
    @Override
	public String getModifyBy() {
        return this.modifyBy;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#setModifyBy(java.lang.String)
	 */
    @Override
	public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#getModifyDate()
	 */
    @Override
	public Date getModifyDate() {
        return this.modifyDate;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#setModifyDate(java.util.Date)
	 */
    @Override
	public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#getPhysicalAssets()
	 */
    @Override
	public Set getPhysicalAssets() {
        return this.physicalAssets;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#setPhysicalAssets(java.util.Set)
	 */
    @Override
	public void setPhysicalAssets(Set physicalAssets) {
        this.physicalAssets = physicalAssets;
    }

    /* (non-Javadoc)
	 * @see com.thomsonreuters.ce.edps.model.impl.IAgsFacility#toString()
	 */
    @Override
	public String toString() {
        return new ToStringBuilder(this)
            .append("id", getId())
            .toString();
    }

}
